package com.gccloud.design.dto;

import com.gccloud.starter.common.dto.SearchDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author guo.wang
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("API定义：分页查询API数据的dto")
public class SdApiDefineDto extends SearchDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("API名称")
    private String apiName;

    @ApiModelProperty("API编码")
    private String apiCode;

    @ApiModelProperty("API提供方")
    private String apiProvider;

    @ApiModelProperty("API消费方")
    private String apiConsumer;

    @ApiModelProperty("API状态")
    private String apiStatus;

    @ApiModelProperty("是否核心API")
    private String isCore;

    @ApiModelProperty("API类型")
    private String apiType;

    @ApiModelProperty("API分类")
    private String apiClass;

    @ApiModelProperty("API目录标识(流程id)")
    private Integer catalogId;

    @ApiModelProperty("API目录标识集合")
    private List<Integer> catalogIdList;

}
